package com.yjd.comm.fundservice.model;

import com.yjd.comm.base.model.Model;
import com.yjd.comm.fundservice.enums.BusTypeEnum;

/**
 * <b>description</b>：资金服务接口请求日志模型<br>
 * <b>time</b>：2018-01-21 16:16:30 <br>
 * <b>author</b>：  carl
 */
public class FundServiceLogModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;


	public FundServiceLogModel(){}

	public FundServiceLogModel(Integer fund_channel,Long start_time,Long end_time,BusTypeEnum bus_type,String bus_id,String ask_content,
							   String return_msg,Long create_time){
		this.fund_channel = fund_channel;
		this.start_time = start_time;
		this.end_time = end_time;
		this.bus_type = bus_type.getCode();
		this.bus_id = bus_id;
		this.ask_content = ask_content;
		this.return_msg = return_msg;
		this.create_time = create_time;
	}
	
	 /*
	  *唯一id 
	  */
	private Long id;
	 /*
	  *资金方 1 乾康 
	  */
	private Integer fund_channel;
	 /*
	  *接口开始时间(毫秒) 
	  */
	private Long start_time;
	 /*
	  *接口响应时间(毫秒) 
	  */
	private Long end_time;
	 /*
	  *业务类型 0 未知  1 贷款申请 2 贷款通知 3 贷款查询 4 还款计划查询 5 还款代扣款 6还款代扣款结果 
	  */
	private Integer bus_type;
	 /*
	  *业务唯一id 
	  */
	private String bus_id;
	 /*
	  *请求内容 
	  */
	private String ask_content;
	 /*
	  *响应信息 
	  */
	private String return_msg;
	 /*
	  *创建时间 
	  */
	private Long create_time;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Integer getFund_channel() {
		return fund_channel;
	}

	public void setFund_channel(Integer fund_channel) {
		this.fund_channel = fund_channel;
	}
	public Long getStart_time() {
		return start_time;
	}

	public void setStart_time(Long start_time) {
		this.start_time = start_time;
	}
	public Long getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Long end_time) {
		this.end_time = end_time;
	}
	public Integer getBus_type() {
		return bus_type;
	}

	public void setBus_type(Integer bus_type) {
		this.bus_type = bus_type;
	}
	public String getBus_id() {
		return bus_id;
	}

	public void setBus_id(String bus_id) {
		this.bus_id = bus_id;
	}
	public String getAsk_content() {
		return ask_content;
	}

	public void setAsk_content(String ask_content) {
		this.ask_content = ask_content;
	}
	public String getReturn_msg() {
		return return_msg;
	}

	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}

	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}
}
